package com.home.oss.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * Description: 读取配置文件
 * Created by 王大宸 on 2020-10-15 21:34
 * Created with IntelliJ IDEA.
 */
@Configuration
@ConfigurationProperties(prefix = "file")
public class FileConfig implements Serializable {
    private static final long serialVersionUID = 4858776652922536295L;

    /**
     * 回显路径
     */
    private String http;

    /**
     * 文件上传目标服务器类型: 1-本地上传
     */
    private String type;

    /**
     * 本地文件上传地址
     */
    private String uploadPath;


    public String getHttp() {
        return http;
    }

    public void setHttp(String http) {
        this.http = http;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }
}
